<%@ include file="init.jsp"%>

<html>
<head>
<link rel="stylesheet" href="../default.css" type="text/css"
	media="screen" />

<script type="text/javascript"
	src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>

</head>
<body>
	<div id="header">
		<div id="top"></div>
		<div id="info-boxes">
			<div id="info-box1">
				<%
					out.print(Constant.portal_context.getPortalInfo());
				%>
				<a>go</a>
			</div>
			<div id="info-box2">
				<p:content name="LoginPortlet" />
			</div>
		</div>
	</div>

	<div id="wrapper" class="portal">
		<div id="menu">
			<p:content name="ManagePage" />
		</div>
		<div id="main">
			<%
				Layout layout = (Layout) request.getAttribute("layout");
			%>
			<%
				pageContext.include(layout.getJsp());
			%>
		</div>
		<div id="main-menu">
			<div id="favorites-menu" class="block">
				<h3 style="cursor: pointer;">Portlet</h3>
					<p:content name="ListAllPortlet" />
			</div>
		</div>
		<div id="footer"
			style="position: static; padding: 0.75em 0pt; width: auto;">
			tPortal sample layout</div>
	</div>

</body>
</html>
